import request from '@/utils/request'

// 获取成就列表
export function login(data) {
    return request({
        url: '/api/auth/login',
        method: 'post',
        data
    })
}

// 删除项目
export function deleteAssignment(id) {
    return request({
        url: `/api/assignments/${id}`,
        method: 'delete'
    })
}